#ifndef SEQLIST_H_
#define SEQLIST_H_
#include "../adt.h"
// #define OK       1
// #define ERROR    0
// #define TRUE     1
// #define FALSE    0
//#define MAXSIZE  20
//typedef int Status;
//typedef int ElemType;

typedef struct
{
    ElemType data[MAXSIZE];
    int length;    
}SqList;

/*return the index element*/
Status GetElem(SqList L, int i, ElemType *e);

/*insert element before index*/
Status ListInsert(SqList *L, int i, ElemType); 

/*delete index element*/
Status ListDelete(SqList *L, int i, ElemType *e);

#endif